const ChildApp = (props) =>{
  // console.log('props',props)
  return <div>
    <div>子组件<span style={{color:'red'}}>{props.test}</span></div>
  </div>
}

export default ChildApp